package com.xmtlxx.common.core.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * SacwEntity基类
 * @author hergreen
 * @date 2024/07/16 18:14
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
public class BaseSacwEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "删除标识")
    private String delFlag;

    @ApiModelProperty(value = "同步状态")
    @TableField(fill = FieldFill.UPDATE)
    private Integer migStat;

    public BaseSacwEntity(String delFlag){
        super();
        this.delFlag =delFlag;
    }
}
